package com.lagou.common.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Ethan
 * @date 2021/3/2 11:58
 * @description 订单类
 */

@Data
@Table(name = "orders")
public class Orders {

  /**
   * 订单ID
   */
  @Id
  private long id;

  /**
   * 订单总价格
   */
  private long total;

  /**
   * 创建时间
   */
  private java.sql.Timestamp createdTime;

  /**
   * 订单状态
   */
  private long status;

}
